package cn.cvs.dao;

import cn.cvs.pojo.Room;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomMapper {
    //获取所有房子信息
    List<Room> getRoomList(@Param("rName")String rName,@Param("isSchedule") String isSchedule, @Param("isMove")String isMove );
    //新增Room
    int addRoom(Room room);
    //删除Room
    int deleteRoom(@Param("rId")Integer rId);
    //修改
    Room getRoomByRId(@Param("rId")Integer rId);
    //根据房间号查找房间
    Room getListInfo(@Param("roomNo") String roomNo );
    int updateRoom(@Param("rId")Integer rId);
}
